<template>
  <div class="container">
    <topTitle :titleText="titleText" v-if="!hiddleToolBar"> </topTitle>
    <el-tabs v-model="activeName" type="card" class="commonTab">
      <el-tab-pane label="登录日志" name="first">
        <loginLog v-if="isShowFirst" />
      </el-tab-pane>
      <el-tab-pane label="操作日志" name="second">
        <actionLog v-if="isShowFirst" />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>
<script>
import loginLog from './loginLog.vue'
import actionLog from './actionLog.vue'

export default {
  data() {
    return {
      titleText: '系统日志',
      activeName: 'first',
      isShowFirst: true,
    }
  },
  components: {
    loginLog,
    actionLog,
  },
}
</script>
<style lang="less" scoped>
/deep/.noExplain {
  height: 46px !important;
  line-height: 46px !important;
}
</style>
